home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / BlitzBasic / Blitz2_EquatesV3 / Includes / intuition / Rawcodes.bb2 < prev    next >
Unknown  |  1998-06-24  |  6.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% gt2 Kopftext: ';/* --- RAWMOUSE Codes and Qualifiers (Console OR IDCMP) ------------------- */' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 2f 2a 20 2d 2d 2d 20 | 52 41 57 4d 4f 55 53 45 |;/* --- |RAWMOUSE|
|00000010| 20 43 6f 64 65 73 20 61 | 6e 64 20 51 75 61 6c 69 | Codes a|nd Quali|
|00000020| 66 69 65 72 73 20 28 43 | 6f 6e 73 6f 6c 65 20 4f |fiers (C|onsole O|
|00000030| 52 20 49 44 43 4d 50 29 | 20 2d 2d 2d 2d 2d 2d 2d |R IDCMP)| -------|
|00000040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 2a 2f 00 |--------|---- */.|
|00000050| 23 53 45 4c 45 43 54 55 | 50 3d 28 23 49 45 43 4f |#SELECTU|P=(#IECO|
|00000060| 44 45 5f 4c 42 55 54 54 | 4f 4e 7c 23 49 45 43 4f |DE_LBUTT|ON|#IECO|
|00000070| 44 45 5f 55 50 5f 50 52 | 45 46 49 58 29 00 23 53 |DE_UP_PR|EFIX).#S|
|00000080| 45 4c 45 43 54 44 4f 57 | 4e 3d 28 23 49 45 43 4f |ELECTDOW|N=(#IECO|
|00000090| 44 45 5f 4c 42 55 54 54 | 4f 4e 29 00 23 4d 45 4e |DE_LBUTT|ON).#MEN|
|000000a0| 55 55 50 3d 28 23 49 45 | 43 4f 44 45 5f 52 42 55 |UUP=(#IE|CODE_RBU|
|000000b0| 54 54 4f 4e 7c 23 49 45 | 43 4f 44 45 5f 55 50 5f |TTON|#IE|CODE_UP_|
|000000c0| 50 52 45 46 49 58 29 00 | 23 4d 45 4e 55 44 4f 57 |PREFIX).|#MENUDOW|
|000000d0| 4e 3d 28 23 49 45 43 4f | 44 45 5f 52 42 55 54 54 |N=(#IECO|DE_RBUTT|
|000000e0| 4f 4e 29 00 23 4d 49 44 | 44 4c 45 55 50 3d 28 23 |ON).#MID|DLEUP=(#|
|000000f0| 49 45 43 4f 44 45 5f 4d | 42 55 54 54 4f 4e 7c 23 |IECODE_M|BUTTON|#|
|00000100| 49 45 43 4f 44 45 5f 55 | 50 5f 50 52 45 46 49 58 |IECODE_U|P_PREFIX|
|00000110| 29 00 23 4d 49 44 44 4c | 45 44 4f 57 4e 3d 28 23 |).#MIDDL|EDOWN=(#|
|00000120| 49 45 43 4f 44 45 5f 4d | 42 55 54 54 4f 4e 29 00 |IECODE_M|BUTTON).|
|00000130| 23 41 4c 54 4c 45 46 54 | 3d 28 23 49 45 51 55 41 |#ALTLEFT|=(#IEQUA|
|00000140| 4c 49 46 49 45 52 5f 4c | 41 4c 54 29 00 23 41 4c |LIFIER_L|ALT).#AL|
|00000150| 54 52 49 47 48 54 3d 28 | 23 49 45 51 55 41 4c 49 |TRIGHT=(|#IEQUALI|
|00000160| 46 49 45 52 5f 52 41 4c | 54 29 00 23 41 4d 49 47 |FIER_RAL|T).#AMIG|
|00000170| 41 4c 45 46 54 3d 28 23 | 49 45 51 55 41 4c 49 46 |ALEFT=(#|IEQUALIF|
|00000180| 49 45 52 5f 4c 43 4f 4d | 4d 41 4e 44 29 00 23 41 |IER_LCOM|MAND).#A|
|00000190| 4d 49 47 41 52 49 47 48 | 54 3d 28 23 49 45 51 55 |MIGARIGH|T=(#IEQU|
|000001a0| 41 4c 49 46 49 45 52 5f | 52 43 4f 4d 4d 41 4e 44 |ALIFIER_|RCOMMAND|
|000001b0| 29 00 23 41 4d 49 47 41 | 4b 45 59 53 3d 28 23 41 |).#AMIGA|KEYS=(#A|
|000001c0| 4d 49 47 41 4c 45 46 54 | 7c 23 41 4d 49 47 41 52 |MIGALEFT||#AMIGAR|
|000001d0| 49 47 48 54 29 00 00 23 | 43 55 52 53 4f 52 55 50 |IGHT)..#|CURSORUP|
|000001e0| 3d 24 34 43 00 23 43 55 | 52 53 4f 52 4c 45 46 54 |=$4C.#CU|RSORLEFT|
|000001f0| 3d 24 34 46 00 23 43 55 | 52 53 4f 52 52 49 47 48 |=$4F.#CU|RSORRIGH|
|00000200| 54 3d 24 34 45 00 23 43 | 55 52 53 4f 52 44 4f 57 |T=$4E.#C|URSORDOW|
|00000210| 4e 3d 24 34 44 00 23 4b | 45 59 43 4f 44 45 5f 51 |N=$4D.#K|EYCODE_Q|
|00000220| 3d 24 31 30 00 23 4b 45 | 59 43 4f 44 45 5f 5a 3d |=$10.#KE|YCODE_Z=|
|00000230| 24 33 31 00 23 4b 45 59 | 43 4f 44 45 5f 58 3d 24 |$31.#KEY|CODE_X=$|
|00000240| 33 32 00 23 4b 45 59 43 | 4f 44 45 5f 56 3d 24 33 |32.#KEYC|ODE_V=$3|
|00000250| 34 00 23 4b 45 59 43 4f | 44 45 5f 42 3d 24 33 35 |4.#KEYCO|DE_B=$35|
|00000260| 00 23 4b 45 59 43 4f 44 | 45 5f 4e 3d 24 33 36 00 |.#KEYCOD|E_N=$36.|
|00000270| 23 4b 45 59 43 4f 44 45 | 5f 4d 3d 24 33 37 00 23 |#KEYCODE|_M=$37.#|
|00000280| 4b 45 59 43 4f 44 45 5f | 4c 45 53 53 3d 24 33 38 |KEYCODE_|LESS=$38|
|00000290| 00 23 4b 45 59 43 4f 44 | 45 5f 47 52 45 41 54 45 |.#KEYCOD|E_GREATE|
|000002a0| 52 3d 24 33 39 00 00 00 | 00 3b 2f 2a 20 4e 65 77 |R=$39...|.;/* New|
|000002b0| 20 66 6f 72 20 56 33 39 | 2c 20 49 6e 74 75 69 74 | for V39|, Intuit|
|000002c0| 69 6f 6e 20 73 75 70 70 | 6f 72 74 73 20 74 68 65 |ion supp|orts the|
|000002d0| 20 49 45 53 55 42 43 4c | 41 53 53 5f 4e 45 57 54 | IESUBCL|ASS_NEWT|
|000002e0| 41 42 4c 45 54 20 73 75 | 62 63 6c 61 73 73 00 3b |ABLET su|bclass.;|
|000002f0| 20 2a 20 6f 66 20 74 68 | 65 20 49 45 43 4c 41 53 | * of th|e IECLAS|
|00000300| 53 5f 4e 45 57 50 4f 49 | 4e 54 45 52 50 4f 53 20 |S_NEWPOI|NTERPOS |
|00000310| 65 76 65 6e 74 2e 20 54 | 68 65 20 69 65 5f 45 76 |event. T|he ie_Ev|
|00000320| 65 6e 74 41 64 64 72 65 | 73 73 20 6f 66 20 73 75 |entAddre|ss of su|
|00000330| 63 68 00 3b 20 2a 20 61 | 6e 20 65 76 65 6e 74 20 |ch.; * a|n event |
|00000340| 70 6f 69 6e 74 73 20 74 | 6f 20 61 20 54 61 62 6c |points t|o a Tabl|
|00000350| 65 74 44 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |etData s|tructure|
|00000360| 20 28 73 65 65 20 62 65 | 6c 6f 77 29 2e 00 3b 20 | (see be|low)..; |
|00000370| 2a 00 3b 20 2a 20 54 68 | 65 20 54 61 62 6c 65 74 |*.; * Th|e Tablet|
|00000380| 44 61 74 61 20 73 74 72 | 75 63 74 75 72 65 20 63 |Data str|ucture c|
|00000390| 6f 6e 74 61 69 6e 73 20 | 63 65 72 74 61 69 6e 20 |ontains |certain |
|000003a0| 65 6c 65 6d 65 6e 74 73 | 20 69 6e 63 6c 75 64 69 |elements| includi|
|000003b0| 6e 67 20 61 20 74 61 67 | 6c 69 73 74 2e 00 3b 20 |ng a tag|list..; |
|000003c0| 2a 20 54 68 65 20 74 61 | 67 6c 69 73 74 20 63 61 |* The ta|glist ca|
|000003d0| 6e 20 62 65 20 75 73 65 | 64 20 66 6f 72 20 73 70 |n be use|d for sp|
|000003e0| 65 63 69 61 6c 20 74 61 | 62 6c 65 74 20 70 61 72 |ecial ta|blet par|
|000003f0| 61 6d 65 74 65 72 73 2e | 20 20 41 20 74 61 62 6c |ameters.| A tabl|
|00000400| 65 74 20 64 72 69 76 65 | 72 00 3b 20 2a 20 73 68 |et drive|r.; * sh|
|00000410| 6f 75 6c 64 20 69 6e 63 | 6c 75 64 65 20 6f 6e 6c |ould inc|lude onl|
|00000420| 79 20 74 68 6f 73 65 20 | 74 61 67 2d 69 74 65 6d |y those |tag-item|
|00000430| 73 20 74 68 65 20 74 61 | 62 6c 65 74 20 73 75 70 |s the ta|blet sup|
|00000440| 70 6f 72 74 73 2e 20 20 | 41 6e 20 61 70 70 6c 69 |ports. |An appli|
|00000450| 63 61 74 69 6f 6e 00 3b | 20 2a 20 63 61 6e 20 6c |cation.;| * can l|
|00000460| 69 73 74 65 6e 20 66 6f | 72 20 61 6e 79 20 74 61 |isten fo|r any ta|
|00000470| 67 2d 69 74 65 6d 73 20 | 74 68 61 74 20 69 6e 74 |g-items |that int|
|00000480| 65 72 65 73 74 20 69 74 | 2e 20 20 4e 6f 74 65 3a |erest it|. Note:|
|00000490| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 00 | an appl|ication.|
|000004a0| 3b 20 2a 20 6d 75 73 74 | 20 73 65 74 20 74 68 65 |; * must| set the|
|000004b0| 20 57 41 5f 54 61 62 6c | 65 74 4d 65 73 73 61 67 | WA_Tabl|etMessag|
|000004c0| 65 73 20 61 74 74 72 69 | 62 75 74 65 20 74 6f 20 |es attri|bute to |
|000004d0| 54 52 55 45 20 74 6f 20 | 72 65 63 65 69 76 65 20 |TRUE to |receive |
|000004e0| 74 68 69 73 00 3b 20 2a | 20 65 78 74 65 6e 64 65 |this.; *| extende|
|000004f0| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 6e |d inform|ation in|
|00000500| 20 69 74 73 20 49 6e 74 | 75 69 4d 65 73 73 61 67 | its Int|uiMessag|
|00000510| 65 73 2e 00 3b 20 2a 00 | 3b 20 2a 20 54 68 65 20 |es..; *.|; * The |
|00000520| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 67 69 76 65 |definiti|ons give|
|00000530| 6e 20 68 65 72 65 20 4d | 55 53 54 20 62 65 20 66 |n here M|UST be f|
|00000540| 6f 6c 6c 6f 77 65 64 2e | 20 20 50 61 79 20 63 61 |ollowed.| Pay ca|
|00000550| 72 65 66 75 6c 20 61 74 | 74 65 6e 74 69 6f 6e 00 |reful at|tention.|
|00000560| 3b 20 2a 20 74 6f 20 6e | 6f 72 6d 61 6c 69 7a 61 |; * to n|ormaliza|
|00000570| 74 69 6f 6e 20 61 6e 64 | 20 74 68 65 20 69 6e 74 |tion and| the int|
|00000580| 65 72 70 72 65 74 61 74 | 69 6f 6e 20 6f 66 20 73 |erpretat|ion of s|
|00000590| 69 67 6e 73 2e 00 3b 20 | 2a 00 3b 20 2a 20 54 41 |igns..; |*.; * TA|
|000005a0| 42 4c 45 54 41 5f 54 61 | 62 6c 65 74 5a 3a 20 20 |BLETA_Ta|bletZ: |
|000005b0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 76 61 6c 75 |the curr|ent valu|
|000005c0| 65 20 6f 66 20 74 68 65 | 20 74 61 62 6c 65 74 20 |e of the| tablet |
|000005d0| 69 6e 20 74 68 65 20 5a | 20 64 69 72 65 63 74 69 |in the Z| directi|
|000005e0| 6f 6e 2e 00 3b 20 2a 20 | 54 68 69 73 20 75 6e 73 |on..; * |This uns|
|000005f0| 69 67 6e 65 64 20 76 61 | 6c 75 65 20 73 68 6f 75 |igned va|lue shou|
|00000600| 6c 64 20 74 79 70 69 63 | 61 6c 6c 79 20 62 65 20 |ld typic|ally be |
|00000610| 69 6e 20 74 68 65 20 6e | 61 74 75 72 61 6c 20 75 |in the n|atural u|
|00000620| 6e 69 74 73 20 6f 66 20 | 74 68 65 00 3b 20 2a 20 |nits of |the.; * |
|00000630| 74 61 62 6c 65 74 2e 20 | 20 59 6f 75 20 73 68 6f |tablet. | You sho|
|00000640| 75 6c 64 20 61 6c 73 6f | 20 70 72 6f 76 69 64 65 |uld also| provide|
|00000650| 20 54 41 42 4c 45 54 41 | 5f 52 61 6e 67 65 5a 2e | TABLETA|_RangeZ.|
|00000660| 00 3b 20 2a 00 3b 20 2a | 20 54 41 42 4c 45 54 41 |.; *.; *| TABLETA|
|00000670| 5f 52 61 6e 67 65 5a 3a | 20 20 74 68 65 20 6d 61 |_RangeZ:| the ma|
|00000680| 78 69 6d 75 6d 20 76 61 | 6c 75 65 20 6f 66 20 74 |ximum va|lue of t|
|00000690| 68 65 20 74 61 62 6c 65 | 74 20 69 6e 20 74 68 65 |he table|t in the|
|000006a0| 20 5a 20 64 69 72 65 63 | 74 69 6f 6e 2e 00 3b 20 | Z direc|tion..; |
|000006b0| 2a 20 4e 6f 72 6d 61 6c | 6c 79 20 73 70 65 63 69 |* Normal|ly speci|
|000006c0| 66 69 65 64 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |fied alo|ng with |
|000006d0| 54 41 42 4c 45 54 41 5f | 54 61 62 6c 65 74 5a 2c |TABLETA_|TabletZ,|
|000006e0| 20 74 68 69 73 20 61 6c | 6c 6f 77 73 20 74 68 65 | this al|lows the|
|000006f0| 00 3b 20 2a 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |.; * app|lication|
|00000700| 20 74 6f 20 73 63 61 6c | 65 20 74 68 65 20 61 63 | to scal|e the ac|
|00000710| 74 75 61 6c 20 5a 20 76 | 61 6c 75 65 20 61 63 72 |tual Z v|alue acr|
|00000720| 6f 73 73 20 69 74 73 20 | 72 61 6e 67 65 2e 00 3b |oss its |range..;|
|00000730| 20 2a 00 3b 20 2a 20 54 | 41 42 4c 45 54 41 5f 41 | *.; * T|ABLETA_A|
|00000740| 6e 67 6c 65 58 3a 20 20 | 74 68 65 20 61 6e 67 6c |ngleX: |the angl|
|00000750| 65 20 6f 66 20 72 6f 74 | 61 74 69 6f 6e 20 6f 72 |e of rot|ation or|
|00000760| 20 74 69 6c 74 20 61 62 | 6f 75 74 20 74 68 65 20 | tilt ab|out the |
|00000770| 58 2d 61 78 69 73 2e 20 | 20 54 68 69 73 00 3b 20 |X-axis. | This.; |
|00000780| 2a 20 6e 75 6d 62 65 72 | 20 73 68 6f 75 6c 64 20 |* number| should |
|00000790| 62 65 20 6e 6f 72 6d 61 | 6c 69 7a 65 64 20 74 6f |be norma|lized to|
|000007a0| 20 66 69 6c 6c 20 61 20 | 73 69 67 6e 65 64 20 6c | fill a |signed l|
|000007b0| 6f 6e 67 20 69 6e 74 65 | 67 65 72 2e 20 20 50 6f |ong inte|ger. Po|
|000007c0| 73 69 74 69 76 65 00 3b | 20 2a 20 76 61 6c 75 65 |sitive.;| * value|
|000007d0| 73 20 69 6d 70 6c 79 20 | 61 20 63 6c 6f 63 6b 77 |s imply |a clockw|
|000007e0| 69 73 65 20 72 6f 74 61 | 74 69 6f 6e 20 61 62 6f |ise rota|tion abo|
|000007f0| 75 74 20 74 68 65 20 58 | 2d 61 78 69 73 20 77 68 |ut the X|-axis wh|
|00000800| 65 6e 20 76 69 65 77 69 | 6e 67 00 3b 20 2a 20 66 |en viewi|ng.; * f|
|00000810| 72 6f 6d 20 2b 58 20 74 | 6f 77 61 72 64 73 20 74 |rom +X t|owards t|
|00000820| 68 65 20 6f 72 69 67 69 | 6e 2e 00 3b 20 2a 00 3b |he origi|n..; *.;|
|00000830| 20 2a 20 54 41 42 4c 45 | 54 41 5f 41 6e 67 6c 65 | * TABLE|TA_Angle|
|00000840| 59 3a 20 20 74 68 65 20 | 61 6e 67 6c 65 20 6f 66 |Y: the |angle of|
|00000850| 20 72 6f 74 61 74 69 6f | 6e 20 6f 72 20 74 69 6c | rotatio|n or til|
|00000860| 74 20 61 62 6f 75 74 20 | 74 68 65 20 59 2d 61 78 |t about |the Y-ax|
|00000870| 69 73 2e 20 20 54 68 69 | 73 00 3b 20 2a 20 6e 75 |is. Thi|s.; * nu|
|00000880| 6d 62 65 72 20 73 68 6f | 75 6c 64 20 62 65 20 6e |mber sho|uld be n|
|00000890| 6f 72 6d 61 6c 69 7a 65 | 64 20 74 6f 20 66 69 6c |ormalize|d to fil|
|000008a0| 6c 20 61 20 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |l a sign|ed long |
|000008b0| 69 6e 74 65 67 65 72 2e | 20 20 50 6f 73 69 74 69 |integer.| Positi|
|000008c0| 76 65 00 3b 20 2a 20 76 | 61 6c 75 65 73 20 69 6d |ve.; * v|alues im|
|000008d0| 70 6c 79 20 61 20 63 6c | 6f 63 6b 77 69 73 65 20 |ply a cl|ockwise |
|000008e0| 72 6f 74 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |rotation| about t|
|000008f0| 68 65 20 59 2d 61 78 69 | 73 20 77 68 65 6e 20 76 |he Y-axi|s when v|
|00000900| 69 65 77 69 6e 67 00 3b | 20 2a 20 66 72 6f 6d 20 |iewing.;| * from |
|00000910| 2b 59 20 74 6f 77 61 72 | 64 73 20 74 68 65 20 6f |+Y towar|ds the o|
|00000920| 72 69 67 69 6e 2e 00 3b | 20 2a 00 3b 20 2a 20 54 |rigin..;| *.; * T|
|00000930| 41 42 4c 45 54 41 5f 41 | 6e 67 6c 65 5a 3a 20 20 |ABLETA_A|ngleZ: |
|00000940| 74 68 65 20 61 6e 67 6c | 65 20 6f 66 20 72 6f 74 |the angl|e of rot|
|00000950| 61 74 69 6f 6e 20 6f 72 | 20 74 69 6c 74 20 61 62 |ation or| tilt ab|
|00000960| 6f 75 74 20 74 68 65 20 | 5a 20 61 78 69 73 2e 20 |out the |Z axis. |
|00000970| 20 54 68 69 73 00 3b 20 | 2a 20 6e 75 6d 62 65 72 | This.; |* number|
|00000980| 20 73 68 6f 75 6c 64 20 | 62 65 20 6e 6f 72 6d 61 | should |be norma|
|00000990| 6c 69 7a 65 64 20 74 6f | 20 66 69 6c 6c 20 61 20 |lized to| fill a |
|000009a0| 73 69 67 6e 65 64 20 6c | 6f 6e 67 20 69 6e 74 65 |signed l|ong inte|
|000009b0| 67 65 72 2e 20 20 50 6f | 73 69 74 69 76 65 00 3b |ger. Po|sitive.;|
|000009c0| 20 2a 20 76 61 6c 75 65 | 73 20 69 6d 70 6c 79 20 | * value|s imply |
|000009d0| 61 20 63 6c 6f 63 6b 77 | 69 73 65 20 72 6f 74 61 |a clockw|ise rota|
|000009e0| 74 69 6f 6e 20 61 62 6f | 75 74 20 74 68 65 20 5a |tion abo|ut the Z|
|000009f0| 2d 61 78 69 73 20 77 68 | 65 6e 20 76 69 65 77 69 |-axis wh|en viewi|
|00000a00| 6e 67 00 3b 20 2a 20 66 | 72 6f 6d 20 2b 5a 20 74 |ng.; * f|rom +Z t|
|00000a10| 6f 77 61 72 64 73 20 74 | 68 65 20 6f 72 69 67 69 |owards t|he origi|
|00000a20| 6e 2e 00 3b 20 2a 00 3b | 20 2a 20 4e 6f 74 65 3a |n..; *.;| * Note:|
|00000a30| 20 61 20 73 74 79 6c 75 | 73 20 74 68 61 74 20 73 | a stylu|s that s|
|00000a40| 75 70 70 6f 72 74 73 20 | 74 69 6c 74 20 73 68 6f |upports |tilt sho|
|00000a50| 75 6c 64 20 75 73 65 20 | 74 68 65 20 54 41 42 4c |uld use |the TABL|
|00000a60| 45 54 41 5f 41 6e 67 6c | 65 58 00 3b 20 2a 20 61 |ETA_Angl|eX.; * a|
|00000a70| 6e 64 20 54 41 42 4c 45 | 54 41 5f 41 6e 67 6c 65 |nd TABLE|TA_Angle|
|00000a80| 59 20 61 74 74 72 69 62 | 75 74 65 73 2e 20 20 54 |Y attrib|utes. T|
|00000a90| 69 6c 74 69 6e 67 20 74 | 68 65 20 73 74 79 6c 75 |ilting t|he stylu|
|00000aa0| 73 20 73 6f 20 74 68 65 | 20 74 69 70 00 3b 20 2a |s so the| tip.; *|
|00000ab0| 20 70 6f 69 6e 74 73 20 | 74 6f 77 61 72 64 73 20 | points |towards |
|00000ac0| 69 6e 63 72 65 61 73 69 | 6e 67 20 6f 72 20 64 65 |increasi|ng or de|
|00000ad0| 63 72 65 61 73 69 6e 67 | 20 58 20 69 73 20 61 63 |creasing| X is ac|
|00000ae0| 74 75 61 6c 6c 79 20 61 | 20 72 6f 74 61 74 69 6f |tually a| rotatio|
|00000af0| 6e 00 3b 20 2a 20 61 72 | 6f 75 6e 64 20 74 68 65 |n.; * ar|ound the|
|00000b00| 20 59 2d 61 78 69 73 2e | 20 20 54 68 75 73 2c 20 | Y-axis.| Thus, |
|00000b10| 69 66 20 74 68 65 20 73 | 74 79 6c 75 73 20 74 69 |if the s|tylus ti|
|00000b20| 70 20 70 6f 69 6e 74 73 | 20 74 6f 77 61 72 64 73 |p points| towards|
|00000b30| 00 3b 20 2a 20 70 6f 73 | 69 74 69 76 65 20 58 2c |.; * pos|itive X,|
|00000b40| 20 74 68 65 6e 20 74 68 | 61 74 20 74 69 6c 74 20 | then th|at tilt |
|00000b50| 69 73 20 72 65 70 72 65 | 73 65 6e 74 65 64 20 61 |is repre|sented a|
|00000b60| 73 20 61 20 6e 65 67 61 | 74 69 76 65 00 3b 20 2a |s a nega|tive.; *|
|00000b70| 20 54 41 42 4c 45 54 41 | 5f 41 6e 67 6c 65 59 2e | TABLETA|_AngleY.|
|00000b80| 20 20 4c 69 6b 65 77 69 | 73 65 2c 20 69 66 20 74 | Likewi|se, if t|
|00000b90| 68 65 20 73 74 79 6c 75 | 73 20 74 69 70 20 70 6f |he stylu|s tip po|
|00000ba0| 69 6e 74 73 20 74 6f 77 | 61 72 64 73 00 3b 20 2a |ints tow|ards.; *|
|00000bb0| 20 70 6f 73 69 74 69 76 | 65 20 59 2c 20 74 68 61 | positiv|e Y, tha|
|00000bc0| 74 20 74 69 6c 74 20 69 | 73 20 72 65 70 72 65 73 |t tilt i|s repres|
|00000bd0| 65 6e 74 65 64 20 62 79 | 20 70 6f 73 69 74 69 76 |ented by| positiv|
|00000be0| 65 20 54 41 42 4c 45 54 | 41 5f 41 6e 67 6c 65 58 |e TABLET|A_AngleX|
|00000bf0| 2e 00 3b 20 2a 00 3b 20 | 2a 20 54 41 42 4c 45 54 |..; *.; |* TABLET|
|00000c00| 41 5f 50 72 65 73 73 75 | 72 65 3a 20 20 74 68 65 |A_Pressu|re: the|
|00000c10| 20 70 72 65 73 73 75 72 | 65 20 72 65 61 64 69 6e | pressur|e readin|
|00000c20| 67 20 6f 66 20 74 68 65 | 20 73 74 79 6c 75 73 2e |g of the| stylus.|
|00000c30| 20 20 54 68 65 20 70 72 | 65 73 73 75 72 65 00 3b | The pr|essure.;|
|00000c40| 20 2a 20 73 68 6f 75 6c | 64 20 62 65 20 6e 6f 72 | * shoul|d be nor|
|00000c50| 6d 61 6c 69 7a 65 64 20 | 74 6f 20 66 69 6c 6c 20 |malized |to fill |
|00000c60| 61 20 73 69 67 6e 65 64 | 20 6c 6f 6e 67 20 69 6e |a signed| long in|
|00000c70| 74 65 67 65 72 2e 20 54 | 79 70 69 63 61 6c 20 64 |teger. T|ypical d|
|00000c80| 65 76 69 63 65 73 00 3b | 20 2a 20 77 6f 6e 27 74 |evices.;| * won't|
|00000c90| 20 67 65 6e 65 72 61 74 | 65 20 6e 65 67 61 74 69 | generat|e negati|
|00000ca0| 76 65 20 70 72 65 73 73 | 75 72 65 2c 20 62 75 74 |ve press|ure, but|
|00000cb0| 20 74 68 65 20 70 6f 73 | 73 69 62 69 6c 69 74 79 | the pos|sibility|
|00000cc0| 20 69 73 20 6e 6f 74 20 | 70 72 65 63 6c 75 64 65 | is not |preclude|
|00000cd0| 64 2e 00 3b 20 2a 20 54 | 68 65 20 70 72 65 73 73 |d..; * T|he press|
|00000ce0| 75 72 65 20 74 68 72 65 | 73 68 6f 6c 64 20 77 68 |ure thre|shold wh|
|00000cf0| 69 63 68 20 69 73 20 63 | 6f 6e 73 69 64 65 72 65 |ich is c|onsidere|
|00000d00| 64 20 74 6f 20 63 61 75 | 73 65 20 61 20 62 75 74 |d to cau|se a but|
|00000d10| 74 6f 6e 2d 63 6c 69 63 | 6b 20 69 73 00 3b 20 2a |ton-clic|k is.; *|
|00000d20| 20 65 78 70 65 63 74 65 | 64 20 74 6f 20 62 65 20 | expecte|d to be |
|00000d30| 73 65 74 20 69 6e 20 61 | 20 50 72 65 66 65 72 65 |set in a| Prefere|
|00000d40| 6e 63 65 73 20 70 72 6f | 67 72 61 6d 20 73 75 70 |nces pro|gram sup|
|00000d50| 70 6c 69 65 64 20 62 79 | 20 74 68 65 20 74 61 62 |plied by| the tab|
|00000d60| 6c 65 74 00 3b 20 2a 20 | 76 65 6e 64 6f 72 2e 20 |let.; * |vendor. |
|00000d70| 20 54 68 65 20 74 61 62 | 6c 65 74 20 64 72 69 76 | The tab|let driv|
|00000d80| 65 72 20 77 6f 75 6c 64 | 20 73 65 6e 64 20 49 45 |er would| send IE|
|00000d90| 43 4f 44 45 5f 4c 42 55 | 54 54 4f 4e 2d 74 79 70 |CODE_LBU|TTON-typ|
|00000da0| 65 20 65 76 65 6e 74 73 | 20 61 73 00 3b 20 2a 20 |e events| as.; * |
|00000db0| 74 68 65 20 70 72 65 73 | 73 75 72 65 20 63 72 6f |the pres|sure cro|
|00000dc0| 73 73 65 64 20 74 68 61 | 74 20 74 68 72 65 73 68 |ssed tha|t thresh|
|00000dd0| 6f 6c 64 2e 00 3b 20 2a | 00 3b 20 2a 20 54 41 42 |old..; *|.; * TAB|
|00000de0| 4c 45 54 41 5f 42 75 74 | 74 6f 6e 42 69 74 73 3a |LETA_But|tonBits:|
|00000df0| 20 74 69 5f 44 61 74 61 | 20 69 73 20 61 20 6c 6f | ti_Data| is a lo|
|00000e00| 6e 67 20 69 6e 74 65 67 | 65 72 20 77 68 6f 73 65 |ng integ|er whose|
|00000e10| 20 62 69 74 73 20 61 72 | 65 20 74 6f 00 3b 20 2a | bits ar|e to.; *|
|00000e20| 20 62 65 20 69 6e 74 65 | 72 70 72 65 74 65 64 20 | be inte|rpreted |
|00000e30| 61 74 20 74 68 65 20 73 | 74 61 74 65 20 6f 66 20 |at the s|tate of |
|00000e40| 74 68 65 20 66 69 72 73 | 74 20 33 32 20 62 75 74 |the firs|t 32 but|
|00000e50| 74 6f 6e 73 20 6f 66 20 | 74 68 65 20 74 61 62 6c |tons of |the tabl|
|00000e60| 65 74 2e 00 3b 20 2a 00 | 3b 20 2a 20 54 41 42 4c |et..; *.|; * TABL|
|00000e70| 45 54 41 5f 49 6e 50 72 | 6f 78 69 6d 69 74 79 3a |ETA_InPr|oximity:|
|00000e80| 20 20 74 69 5f 44 61 74 | 61 20 69 73 20 61 20 62 | ti_Dat|a is a b|
|00000e90| 6f 6f 6c 65 61 6e 2e 20 | 46 6f 72 20 74 61 62 6c |oolean. |For tabl|
|00000ea0| 65 74 73 20 74 68 61 74 | 20 73 75 70 70 6f 72 74 |ets that| support|
|00000eb0| 00 3b 20 2a 20 70 72 6f | 78 69 6d 69 74 79 2c 20 |.; * pro|ximity, |
|00000ec0| 74 68 65 79 20 73 68 6f | 75 6c 64 20 73 65 6e 64 |they sho|uld send|
|00000ed0| 20 74 68 65 20 7b 54 41 | 42 4c 45 54 41 5f 49 6e | the {TA|BLETA_In|
|00000ee0| 50 72 6f 78 69 6d 69 74 | 79 2c 46 41 4c 53 45 7d |Proximit|y,FALSE}|
|00000ef0| 20 74 61 67 20 69 74 65 | 6d 00 3b 20 2a 20 77 68 | tag ite|m.; * wh|
|00000f00| 65 6e 20 74 68 65 20 73 | 74 79 6c 75 73 20 69 73 |en the s|tylus is|
|00000f10| 20 6f 75 74 20 6f 66 20 | 70 72 6f 78 69 6d 69 74 | out of |proximit|
|00000f20| 79 2e 20 20 4f 6e 65 20 | 70 6f 73 73 69 62 6c 65 |y. One |possible|
|00000f30| 20 75 73 65 20 77 65 20 | 63 61 6e 20 66 6f 72 73 | use we |can fors|
|00000f40| 65 65 00 3b 20 2a 20 69 | 73 20 61 20 6d 6f 75 73 |ee.; * i|s a mous|
|00000f50| 65 2d 62 6c 61 6e 6b 69 | 6e 67 20 63 6f 6d 6d 6f |e-blanki|ng commo|
|00000f60| 64 69 74 79 20 77 68 69 | 63 68 20 6b 65 79 73 20 |dity whi|ch keys |
|00000f70| 6f 66 66 20 74 68 69 73 | 20 74 6f 20 62 6c 61 6e |off this| to blan|
|00000f80| 6b 20 74 68 65 00 3b 20 | 2a 20 6d 6f 75 73 65 2e |k the.; |* mouse.|
|00000f90| 20 20 57 68 65 6e 20 74 | 68 69 73 20 74 61 67 20 | When t|his tag |
|00000fa0| 69 73 20 61 62 73 65 6e | 74 2c 20 74 68 65 20 73 |is absen|t, the s|
|00000fb0| 74 79 6c 75 73 20 69 73 | 20 61 73 73 75 6d 65 64 |tylus is| assumed|
|00000fc0| 20 74 6f 20 62 65 00 3b | 20 2a 20 69 6e 20 70 72 | to be.;| * in pr|
|00000fd0| 6f 78 69 6d 69 74 79 2e | 00 3b 20 2a 00 3b 20 2a |oximity.|.; *.; *|
|00000fe0| 20 54 41 42 4c 45 54 41 | 5f 52 65 73 6f 6c 75 74 | TABLETA|_Resolut|
|00000ff0| 69 6f 6e 58 3a 20 20 74 | 69 5f 44 61 74 61 20 69 |ionX: t|i_Data i|
|00001000| 73 20 61 6e 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |s an uns|igned lo|
|00001010| 6e 67 20 69 6e 74 65 67 | 65 72 20 77 68 69 63 68 |ng integ|er which|
|00001020| 00 3b 20 2a 20 69 73 20 | 74 68 65 20 78 2d 61 78 |.; * is |the x-ax|
|00001030| 69 73 20 72 65 73 6f 6c | 75 74 69 6f 6e 20 69 6e |is resol|ution in|
|00001040| 20 64 6f 74 73 20 70 65 | 72 20 69 6e 63 68 2e 00 | dots pe|r inch..|
|00001050| 3b 20 2a 00 3b 20 2a 20 | 54 41 42 4c 45 54 41 5f |; *.; * |TABLETA_|
|00001060| 52 65 73 6f 6c 75 74 69 | 6f 6e 59 3a 20 20 74 69 |Resoluti|onY: ti|
|00001070| 5f 44 61 74 61 20 69 73 | 20 61 6e 20 75 6e 73 69 |_Data is| an unsi|
|00001080| 67 6e 65 64 20 6c 6f 6e | 67 20 69 6e 74 65 67 65 |gned lon|g intege|
|00001090| 72 20 77 68 69 63 68 00 | 3b 20 2a 20 69 73 20 74 |r which.|; * is t|
|000010a0| 68 65 20 79 2d 61 78 69 | 73 20 72 65 73 6f 6c 75 |he y-axi|s resolu|
|000010b0| 74 69 6f 6e 20 69 6e 20 | 64 6f 74 73 20 70 65 72 |tion in |dots per|
|000010c0| 20 69 6e 63 68 2e 00 3b | 20 2a 2f 00 00 23 54 41 | inch..;| */..#TA|
|000010d0| 42 4c 45 54 41 5f 44 75 | 6d 6d 79 3d 28 23 54 41 |BLETA_Du|mmy=(#TA|
|000010e0| 47 5f 55 53 45 52 2b 24 | 33 41 30 30 30 29 00 23 |G_USER+$|3A000).#|
|000010f0| 54 41 42 4c 45 54 41 5f | 54 61 62 6c 65 74 5a 3d |TABLETA_|TabletZ=|
|00001100| 28 23 54 41 42 4c 45 54 | 41 5f 44 75 6d 6d 79 2b |(#TABLET|A_Dummy+|
|00001110| 24 30 31 29 00 23 54 41 | 42 4c 45 54 41 5f 52 61 |$01).#TA|BLETA_Ra|
|00001120| 6e 67 65 5a 3d 28 23 54 | 41 42 4c 45 54 41 5f 44 |ngeZ=(#T|ABLETA_D|
|00001130| 75 6d 6d 79 2b 24 30 32 | 29 00 23 54 41 42 4c 45 |ummy+$02|).#TABLE|
|00001140| 54 41 5f 41 6e 67 6c 65 | 58 3d 28 23 54 41 42 4c |TA_Angle|X=(#TABL|
|00001150| 45 54 41 5f 44 75 6d 6d | 79 2b 24 30 33 29 00 23 |ETA_Dumm|y+$03).#|
|00001160| 54 41 42 4c 45 54 41 5f | 41 6e 67 6c 65 59 3d 28 |TABLETA_|AngleY=(|
|00001170| 23 54 41 42 4c 45 54 41 | 5f 44 75 6d 6d 79 2b 24 |#TABLETA|_Dummy+$|
|00001180| 30 34 29 00 23 54 41 42 | 4c 45 54 41 5f 41 6e 67 |04).#TAB|LETA_Ang|
|00001190| 6c 65 5a 3d 28 23 54 41 | 42 4c 45 54 41 5f 44 75 |leZ=(#TA|BLETA_Du|
|000011a0| 6d 6d 79 2b 24 30 35 29 | 00 23 54 41 42 4c 45 54 |mmy+$05)|.#TABLET|
|000011b0| 41 5f 50 72 65 73 73 75 | 72 65 3d 28 23 54 41 42 |A_Pressu|re=(#TAB|
|000011c0| 4c 45 54 41 5f 44 75 6d | 6d 79 2b 24 30 36 29 00 |LETA_Dum|my+$06).|
|000011d0| 23 54 41 42 4c 45 54 41 | 5f 42 75 74 74 6f 6e 42 |#TABLETA|_ButtonB|
|000011e0| 69 74 73 3d 28 23 54 41 | 42 4c 45 54 41 5f 44 75 |its=(#TA|BLETA_Du|
|000011f0| 6d 6d 79 2b 24 30 37 29 | 00 23 54 41 42 4c 45 54 |mmy+$07)|.#TABLET|
|00001200| 41 5f 49 6e 50 72 6f 78 | 69 6d 69 74 79 3d 28 23 |A_InProx|imity=(#|
|00001210| 54 41 42 4c 45 54 41 5f | 44 75 6d 6d 79 2b 24 30 |TABLETA_|Dummy+$0|
|00001220| 38 29 00 23 54 41 42 4c | 45 54 41 5f 52 65 73 6f |8).#TABL|ETA_Reso|
|00001230| 6c 75 74 69 6f 6e 58 3d | 28 23 54 41 42 4c 45 54 |lutionX=|(#TABLET|
|00001240| 41 5f 44 75 6d 6d 79 2b | 24 30 39 29 00 23 54 41 |A_Dummy+|$09).#TA|
|00001250| 42 4c 45 54 41 5f 52 65 | 73 6f 6c 75 74 69 6f 6e |BLETA_Re|solution|
|00001260| 59 3d 28 23 54 41 42 4c | 45 54 41 5f 44 75 6d 6d |Y=(#TABL|ETA_Dumm|
|00001270| 79 2b 24 30 41 29 00 00 | 3b 2f 2a 20 49 66 20 79 |y+$0A)..|;/* If y|
|00001280| 6f 75 72 20 77 69 6e 64 | 6f 77 20 73 65 74 73 20 |our wind|ow sets |
|00001290| 57 41 5f 54 61 62 6c 65 | 74 4d 65 73 73 61 67 65 |WA_Table|tMessage|
|000012a0| 73 20 74 6f 20 54 52 55 | 45 2c 20 74 68 65 6e 20 |s to TRU|E, then |
|000012b0| 69 74 20 77 69 6c 6c 20 | 72 65 63 65 69 76 65 00 |it will |receive.|
|000012c0| 3b 20 2a 20 65 78 74 65 | 6e 64 65 64 20 49 6e 74 |; * exte|nded Int|
|000012d0| 75 69 4d 65 73 73 61 67 | 65 73 20 28 73 74 72 75 |uiMessag|es (stru|
|000012e0| 63 74 20 45 78 74 49 6e | 74 75 69 4d 65 73 73 61 |ct ExtIn|tuiMessa|
|000012f0| 67 65 29 20 77 68 6f 73 | 65 20 65 69 6d 5f 54 61 |ge) whos|e eim_Ta|
|00001300| 62 6c 65 74 44 61 74 61 | 00 3b 20 2a 20 66 69 65 |bletData|.; * fie|
|00001310| 6c 64 20 70 6f 69 6e 74 | 73 20 61 74 20 61 20 54 |ld point|s at a T|
|00001320| 61 62 6c 65 74 44 61 74 | 61 20 73 74 72 75 63 74 |abletDat|a struct|
|00001330| 75 72 65 2e 20 20 54 68 | 69 73 20 73 74 72 75 63 |ure. Th|is struc|
|00001340| 74 75 72 65 20 63 6f 6e | 74 61 69 6e 73 00 3b 20 |ture con|tains.; |
|00001350| 2a 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 69 6e 66 |* additi|onal inf|
|00001360| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 74 |ormation| about t|
|00001370| 68 65 20 69 6e 70 75 74 | 20 65 76 65 6e 74 2e 00 |he input| event..|
|00001380| 3b 20 2a 2f 00 00 80 01 | 2e 54 61 62 6c 65 74 44 |; */....|.TabletD|
|00001390| 61 74 61 00 3b 2f 2a 20 | 53 75 62 2d 70 69 78 65 |ata.;/* |Sub-pixe|
|000013a0| 6c 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 61 |l positi|on of ta|
|000013b0| 62 6c 65 74 2c 20 69 6e | 20 73 63 72 65 65 6e 20 |blet, in| screen |
|000013c0| 63 6f 6f 72 64 69 6e 61 | 74 65 73 2c 00 3b 20 20 |coordina|tes,.; |
|000013d0| 20 20 20 2a 20 73 63 61 | 6c 65 64 20 74 6f 20 66 | * sca|led to f|
|000013e0| 69 6c 6c 20 61 20 55 57 | 4f 52 44 20 66 72 61 63 |ill a UW|ORD frac|
|000013f0| 74 69 6f 6e 3a 00 3b 20 | 20 20 20 20 2a 2f 00 74 |tion:.; | */.t|
|00001400| 64 5f 58 46 72 61 63 74 | 69 6f 6e 2e 77 3a 20 74 |d_XFract|ion.w: t|
|00001410| 64 5f 59 46 72 61 63 74 | 69 6f 6e 2e 77 00 00 3b |d_YFract|ion.w..;|
|00001420| 2f 2a 20 43 75 72 72 65 | 6e 74 20 74 61 62 6c 65 |/* Curre|nt table|
|00001430| 74 20 63 6f 6f 72 64 69 | 6e 61 74 65 73 20 61 6c |t coordi|nates al|
|00001440| 6f 6e 67 20 65 61 63 68 | 20 61 78 69 73 3a 20 2a |ong each| axis: *|
|00001450| 2f 00 74 64 5f 54 61 62 | 6c 65 74 58 2e 6c 3a 20 |/.td_Tab|letX.l: |
|00001460| 74 64 5f 54 61 62 6c 65 | 74 59 2e 6c 00 00 3b 2f |td_Table|tY.l..;/|
|00001470| 2a 20 54 61 62 6c 65 74 | 20 72 61 6e 67 65 20 61 |* Tablet| range a|
|00001480| 6c 6f 6e 67 20 65 61 63 | 68 20 61 78 69 73 2e 20 |long eac|h axis. |
|00001490| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 66 | For exa|mple, if|
|000014a0| 20 74 64 5f 54 61 62 6c | 65 74 58 00 3b 20 20 20 | td_Tabl|etX.; |
|000014b0| 20 20 2a 20 63 61 6e 20 | 74 61 6b 65 20 76 61 6c | * can |take val|
|000014c0| 75 65 73 20 30 2d 39 39 | 39 2c 20 74 64 5f 52 61 |ues 0-99|9, td_Ra|
|000014d0| 6e 67 65 58 20 73 68 6f | 75 6c 64 20 62 65 20 31 |ngeX sho|uld be 1|
|000014e0| 30 30 30 2e 00 3b 20 20 | 20 20 20 2a 2f 00 74 64 |000..; | */.td|
|000014f0| 5f 52 61 6e 67 65 58 2e | 6c 3a 20 74 64 5f 52 61 |_RangeX.|l: td_Ra|
|00001500| 6e 67 65 59 2e 6c 00 00 | 3b 2f 2a 20 50 6f 69 6e |ngeY.l..|;/* Poin|
|00001510| 74 65 72 20 74 6f 20 74 | 61 67 2d 6c 69 73 74 20 |ter to t|ag-list |
|00001520| 6f 66 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 74 61 |of addit|ional ta|
|00001530| 62 6c 65 74 20 61 74 74 | 72 69 62 75 74 65 73 2e |blet att|ributes.|
|00001540| 00 3b 20 20 20 20 20 2a | 20 53 65 65 20 3c 69 6e |.; *| See <in|
|00001550| 74 75 69 74 69 6f 6e 2f | 69 6e 74 75 69 74 69 6f |tuition/|intuitio|
|00001560| 6e 2e 68 3e 20 66 6f 72 | 20 74 68 65 20 74 61 67 |n.h> for| the tag|
|00001570| 20 76 61 6c 75 65 73 2e | 00 3b 20 20 20 20 20 2a | values.|.; *|
|00001580| 2f 00 2a 74 64 5f 54 61 | 67 4c 69 73 74 2e 54 61 |/.*td_Ta|gList.Ta|
|00001590| 67 49 74 65 6d 00 00 80 | 02 20 80 01 00 00 3b 2f |gItem...|. ....;/|
|000015a0| 2a 20 49 66 20 61 20 74 | 61 62 6c 65 74 20 64 72 |* If a t|ablet dr|
|000015b0| 69 76 65 72 20 73 75 70 | 70 6c 69 65 73 20 61 20 |iver sup|plies a |
|000015c0| 68 6f 6f 6b 20 66 6f 72 | 20 69 65 6e 74 5f 43 61 |hook for| ient_Ca|
|000015d0| 6c 6c 42 61 63 6b 2c 20 | 69 74 20 77 69 6c 6c 20 |llBack, |it will |
|000015e0| 62 65 00 3b 20 2a 20 69 | 6e 76 6f 6b 65 64 20 69 |be.; * i|nvoked i|
|000015f0| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 68 |n the st|andard h|
|00001600| 6f 6f 6b 20 6d 61 6e 6e | 65 72 2e 20 20 41 30 20 |ook mann|er. A0 |
|00001610| 77 69 6c 6c 20 70 6f 69 | 6e 74 20 74 6f 20 74 68 |will poi|nt to th|
|00001620| 65 20 48 6f 6f 6b 00 3b | 20 2a 20 69 74 73 65 6c |e Hook.;| * itsel|
|00001630| 66 2c 20 41 32 20 77 69 | 6c 6c 20 70 6f 69 6e 74 |f, A2 wi|ll point|
|00001640| 20 74 6f 20 74 68 65 20 | 49 6e 70 75 74 45 76 65 | to the |InputEve|
|00001650| 6e 74 20 74 68 61 74 20 | 77 61 73 20 73 65 6e 74 |nt that |was sent|
|00001660| 2c 20 61 6e 64 00 3b 20 | 2a 20 41 31 20 77 69 6c |, and.; |* A1 wil|
|00001670| 6c 20 70 6f 69 6e 74 20 | 74 6f 20 61 20 54 61 62 |l point |to a Tab|
|00001680| 6c 65 74 48 6f 6f 6b 44 | 61 74 61 20 73 74 72 75 |letHookD|ata stru|
|00001690| 63 74 75 72 65 2e 20 20 | 54 68 65 20 49 6e 70 75 |cture. |The Inpu|
|000016a0| 74 45 76 65 6e 74 27 73 | 00 3b 20 2a 20 69 65 5f |tEvent's|.; * ie_|
|000016b0| 45 76 65 6e 74 41 64 64 | 72 65 73 73 20 66 69 65 |EventAdd|ress fie|
|000016c0| 6c 64 20 70 6f 69 6e 74 | 73 20 61 74 20 74 68 65 |ld point|s at the|
|000016d0| 20 49 45 4e 65 77 54 61 | 62 6c 65 74 20 73 74 72 | IENewTa|blet str|
|000016e0| 75 63 74 75 72 65 20 74 | 68 61 74 00 3b 20 2a 20 |ucture t|hat.; * |
|000016f0| 74 68 65 20 64 72 69 76 | 65 72 20 73 75 70 70 6c |the driv|er suppl|
|00001700| 69 65 64 2e 00 3b 20 2a | 00 3b 20 2a 20 42 61 73 |ied..; *|.; * Bas|
|00001710| 65 64 20 6f 6e 20 74 68 | 65 20 74 68 64 5f 53 63 |ed on th|e thd_Sc|
|00001720| 72 65 65 6e 2c 20 74 68 | 64 5f 57 69 64 74 68 2c |reen, th|d_Width,|
|00001730| 20 61 6e 64 20 74 68 64 | 5f 48 65 69 67 68 74 20 | and thd|_Height |
|00001740| 66 69 65 6c 64 73 2c 20 | 74 68 65 20 64 72 69 76 |fields, |the driv|
|00001750| 65 72 00 3b 20 2a 20 73 | 68 6f 75 6c 64 20 73 63 |er.; * s|hould sc|
|00001760| 61 6c 65 20 74 68 65 20 | 69 65 6e 74 5f 54 61 62 |ale the |ient_Tab|
|00001770| 6c 65 74 58 20 61 6e 64 | 20 69 65 6e 74 5f 54 61 |letX and| ient_Ta|
|00001780| 62 6c 65 74 59 20 66 69 | 65 6c 64 73 20 61 6e 64 |bletY fi|elds and|
|00001790| 20 73 74 6f 72 65 20 74 | 68 65 00 3b 20 2a 20 72 | store t|he.; * r|
|000017a0| 65 73 75 6c 74 20 69 6e | 20 69 65 6e 74 5f 53 63 |esult in| ient_Sc|
|000017b0| 61 6c 65 64 58 2c 20 69 | 65 6e 74 5f 53 63 61 6c |aledX, i|ent_Scal|
|000017c0| 65 64 59 2c 20 69 65 6e | 74 5f 53 63 61 6c 65 64 |edY, ien|t_Scaled|
|000017d0| 58 46 72 61 63 74 69 6f | 6e 2c 20 61 6e 64 00 3b |XFractio|n, and.;|
|000017e0| 20 2a 20 69 65 6e 74 5f | 53 63 61 6c 65 64 59 46 | * ient_|ScaledYF|
|000017f0| 72 61 63 74 69 6f 6e 2e | 00 3b 20 2a 00 3b 20 2a |raction.|.; *.; *|
|00001800| 20 54 68 65 20 74 61 62 | 6c 65 74 20 68 6f 6f 6b | The tab|let hook|
|00001810| 20 6d 75 73 74 20 63 75 | 72 72 65 6e 74 6c 79 20 | must cu|rrently |
|00001820| 72 65 74 75 72 6e 20 4e | 55 4c 4c 2e 20 54 68 69 |return N|ULL. Thi|
|00001830| 73 20 69 73 20 74 68 65 | 20 6f 6e 6c 79 00 3b 20 |s is the| only.; |
|00001840| 2a 20 61 63 63 65 70 74 | 61 62 6c 65 20 72 65 74 |* accept|able ret|
|00001850| 75 72 6e 2d 76 61 6c 75 | 65 20 75 6e 64 65 72 20 |urn-valu|e under |
|00001860| 56 33 39 2e 00 3b 20 2a | 2f 00 00 80 01 2e 54 61 |V39..; *|/.....Ta|
|00001870| 62 6c 65 74 48 6f 6f 6b | 44 61 74 61 00 3b 2f 2a |bletHook|Data.;/*|
|00001880| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 74 68 65 20 | Pointer| to the |
|00001890| 61 63 74 69 76 65 20 73 | 63 72 65 65 6e 3a 00 3b |active s|creen:.;|
|000018a0| 20 20 20 20 20 2a 20 4e | 6f 74 65 3a 20 69 66 20 | * N|ote: if |
|000018b0| 74 68 65 72 65 20 61 72 | 65 20 6e 6f 20 6f 70 65 |there ar|e no ope|
|000018c0| 6e 20 73 63 72 65 65 6e | 73 2c 20 74 68 64 5f 53 |n screen|s, thd_S|
|000018d0| 63 72 65 65 6e 20 77 69 | 6c 6c 20 62 65 20 4e 55 |creen wi|ll be NU|
|000018e0| 4c 4c 2e 00 3b 20 20 20 | 20 20 2a 20 74 68 64 5f |LL..; | * thd_|
|000018f0| 57 69 64 74 68 20 61 6e | 64 20 74 68 64 5f 48 65 |Width an|d thd_He|
|00001900| 69 67 68 74 20 77 69 6c | 6c 20 74 68 65 6e 20 64 |ight wil|l then d|
|00001910| 65 73 63 72 69 62 65 20 | 61 6e 20 4e 54 53 43 20 |escribe |an NTSC |
|00001920| 36 34 30 78 34 30 30 00 | 3b 20 20 20 20 20 2a 20 |640x400.|; * |
|00001930| 73 63 72 65 65 6e 2e 20 | 50 6c 65 61 73 65 20 73 |screen. |Please s|
|00001940| 63 61 6c 65 20 61 63 63 | 6f 72 64 69 6e 67 6c 79 |cale acc|ordingly|
|00001950| 2e 00 3b 20 20 20 20 20 | 2a 2f 00 2a 74 68 64 5f |..; |*/.*thd_|
|00001960| 53 63 72 65 65 6e 2e 53 | 63 72 65 65 6e 00 00 3b |Screen.S|creen..;|
|00001970| 2f 2a 20 54 68 65 20 77 | 69 64 74 68 20 61 6e 64 |/* The w|idth and|
|00001980| 20 68 65 69 67 68 74 20 | 28 6d 65 61 73 75 72 65 | height |(measure|
|00001990| 64 20 69 6e 20 70 69 78 | 65 6c 73 20 6f 66 20 74 |d in pix|els of t|
|000019a0| 68 65 20 61 63 74 69 76 | 65 20 73 63 72 65 65 6e |he activ|e screen|
|000019b0| 29 00 3b 20 20 20 20 20 | 2a 20 74 68 61 74 20 79 |).; |* that y|
|000019c0| 6f 75 72 20 61 72 65 20 | 74 6f 20 73 63 61 6c 65 |our are |to scale|
|000019d0| 20 74 6f 3a 00 3b 20 20 | 20 20 20 2a 2f 00 74 68 | to:.; | */.th|
|000019e0| 64 5f 57 69 64 74 68 2e | 6c 00 74 68 64 5f 48 65 |d_Width.|l.thd_He|
|000019f0| 69 67 68 74 2e 6c 00 00 | 3b 2f 2a 20 4e 6f 6e 2d |ight.l..|;/* Non-|
|00001a00| 7a 65 72 6f 20 69 66 20 | 74 68 65 20 73 63 72 65 |zero if |the scre|
|00001a10| 65 6e 20 6f 72 20 73 6f | 6d 65 74 68 69 6e 67 20 |en or so|mething |
|00001a20| 61 62 6f 75 74 20 74 68 | 65 20 73 63 72 65 65 6e |about th|e screen|
|00001a30| 00 3b 20 20 20 20 20 2a | 20 63 68 61 6e 67 65 64 |.; *| changed|
|00001a40| 20 73 69 6e 63 65 20 74 | 68 65 20 6c 61 73 74 20 | since t|he last |
|00001a50| 74 69 6d 65 20 79 6f 75 | 20 77 65 72 65 20 69 6e |time you| were in|
|00001a60| 76 6f 6b 65 64 3a 00 3b | 20 20 20 20 20 2a 2f 00 |voked:.;| */.|
|00001a70| 74 68 64 5f 53 63 72 65 | 65 6e 43 68 61 6e 67 65 |thd_Scre|enChange|
|00001a80| 64 2e 6c 00 00 80 02 20 | 80 01 00 00 3b 2f 2a 20 |d.l.... |....;/* |
|00001a90| 49 6e 63 6c 75 64 65 20 | 6f 62 73 6f 6c 65 74 65 |Include |obsolete|
|00001aa0| 20 69 64 65 6e 74 69 66 | 69 65 72 73 3a 20 2a 2f | identif|iers: */|
|00001ab0| 00 80 12 22 69 6e 74 75 | 69 74 69 6f 6e 2f 69 6f |..."intu|ition/io|
|00001ac0| 62 73 6f 6c 65 74 65 2e | 62 62 32 22 00 |bsolete.|bb2". |
+--------+-------------------------+-------------------------+--------+--------+